// #include "inc/cppjieba/Jieba.hpp"
// #include <iostream>
// #include <string>
// #include <vector>
// using namespace std;
// const char* const DICT_PATH = "./dict/jieba.dict.utf8";
// const char* const HMM_PATH = "./dict/hmm_model.utf8";
// const char* const USER_DICT_PATH = "./dict/user.dict.utf8";
// const char* const IDF_PATH = "./dict/idf.utf8";
// const char* const STOP_WORD_PATH = "./dict/stop_words.utf8";
// int main(int argc, char** argv) {
// 	cppjieba::Jieba jieba(DICT_PATH,
// 	HMM_PATH,
// 	USER_DICT_PATH,
// 	IDF_PATH,
// 	STOP_WORD_PATH);
// 	vector<string> words;
// 	string s;
// 	s = "小明硕士毕业于中国科学院计算所，后在日本京都大学深造";
// 	cout << s << endl;
// 	cout << "[demo] CutForSearch" << endl;
// 	jieba.CutForSearch(s, words);
// 	cout << limonp::Join(words.begin(), words.end(), "/") << endl;
// 	s = "你好呀，朋友";
// 	jieba.CutForSearch(s,words);
// 	cout << limonp::Join(words.begin(), words.end(), "/") << endl;
// 	return EXIT_SUCCESS;
// }


#include "../Log.hpp"
#include <fstream>

int main()
{
	// std::string s ="你好";
	// LOG(DEBUG,s); 
	std::ifstream in("../cppjieba/dict/stop_words.utf8",std::ios::in);
	if (!in.is_open()){
		std::cerr << "文件不存在!!" << std::endl;
		return false;
	}
	std::string line;
	std::string out;
	while(getline(in,line))
	{
		out += line; 
	}
	std::cout << out << std::endl;
	return 0;
}